package com.jt.test;

public class test2 {
    public static void main(String[] args) {
       /* for (int i = 1; i <=100 ; i++) {
            if(i%2==0){
                System.out.print(i +"  ");
            }
        }
*/

        int i=1;
       /* while (i<=100){
            if(i%2==0){
                System.out.print(i +"  ");
            }
            i++;
        }
*/
        do {
            if (i%2==0) {
                System.out.print(i+"  ");
            }
          i++;
        }while (i<=100);

    }
}
